<!doctype html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <!-- Required meta tags -->
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
    <link rel="stylesheet" href="../bootstrap-3.3.7-dist/css/bootstrap.css" media="screen"/>
    <script src="../jquery/jquery-3.3.1.min.js"></script>
    <script src="../bootstrap-3.3.7-dist/js/bootstrap.js"></script>
    <title>房屋详情</title>
</head>
<body>
<!--引用页面头部-->
<div th:include="header :: header"></div>
<div class="panel panel-default container">
    <div class="panel-body ">
        <div class="row">
            <div class="col-md-6">
                <img th:src="${images}" style="width: 100%;height: 100%" alt="First slide"/>
            </div>
            <div class="col-md-6">
                <div>
                    <h3>中德英伦世邦4居室-05卧</h3>
                    <h4>[高新 中德] 1号线 华府大道</h4>
                    <h2 class="price"><label th:text="${price}"> </label><span>￥(每月)</span></h2>
                    <h4>
                        <span class="label label-default">离地铁近</span>
                        <span class="label label-primary">独立阳台</span>
                        <span class="label label-success">风格4.0 木棉</span>
                    </h4>
                </div>
                <div>
                    <ul class="list-group clearfix">
                        <li class="list-group-item"><label>面积：</label><label th:text="${area}"></label></li>
                        <li class="list-group-item"><label>朝向：</label><label th:text="${orientation}"></label>
                        </li>
                        <li class="list-group-item"><label>户型：</label><label th:text="${houseType}"></label>
                        </li>
                        <li class="list-group-item"><label>楼层：</label></li>
                        <li class="list-group-item"><label>交通：</label></li>
                    </ul>
                </div>
                <div class="row">
                    <form action="/applyRoom" method="get">
                        <input type="hidden" name="houseId" th:value="${houseId}"/>
                        <button type="submit " class="btn btn-info btn-lg btn-block">
                            <span class="glyphicon glyphicon-eye-open"></span>我要看房
                        </button>
                    </form>
                    <ul class="nav navbar-nav row" style="width: 100%">
                        <li style="padding: 5px;margin: 5px" class="col-xs-2">
                            <button type="button " class="btn btn-warning btn-lg">
                                <span class="glyphicon glyphicon-heart"></span>收藏
                            </button>
                        </li>
                        <li style="padding: 5px;margin: 5px" class="col-xs-2">
                            <form action="order" method="post">
                                <input type="hidden" name="houseId" th:value="${houseId}"/>
                                <button type="submit" class="btn btn-warning btn-lg">
                                    <span class="glyphicon glyphicon-usd"></span>租房
                                </button>
                            </form>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-6">
                <ul class="list-group clearfix">
                    <li class="list-group-item"><label><b>编号：</b></label><label th:text="${houseId}"></label>
                    </li>
                    <li class="list-group-item"><label><b>周边：</b></label></li>
                    <li class="list-group-item"><label><b>交通</b></label></li>
                </ul>
            </div>
            <div class="col-md-4">

            </div>
        </div>
    </div>
</div>
</body>
</html>